/**
 * Created by plter on 2016/11/3.
 */

(function () {

    var student = {
        name: "小丽", age: 12, sayHello: function () {
            console.log(this.name + " say hello");
        }
    };
    student.gender = "女";
    student.sayHi = function () {
        console.log(this.name + " say hi");
    };

    // console.log(student.gender);

    // student.sayHello();
    student.sayHi();
})();